<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>

    var str = "he        llo";
    console.log(str);

    console.log(str.length);

    console.log(str[0])
    console.log(str[1])
    console.log(str[2])
    console.log(str[3])
    console.log(str[4])

    console.log(str[12])
    
    str[13] = "3"
    console.log(str[13])

    str[1] = 6
    console.log(str[1])
    
    delete str[1]
    console.log(str[1])

    str.length = 3;
    console.log(str.length);

    console.log(str);
    
</script>
</html>